What is difference between web service and .net remoting ?
1392
18-Jun-2019
Updated on 30-May-2023
Aryan Kumar
30-May-2023Web services and .NET Remoting are both technologies that allow for communication between different applications. However, there are some key differences between the two technologies.
Web services are based on the SOAP (Simple Object Access Protocol) protocol, which is an XML-based protocol for exchanging information between applications. Web services are typically hosted on a web server and can be accessed by any client that can make an HTTP request. This makes web services a good choice for applications that need to be accessible from a variety of platforms, including web browsers, mobile devices, and other types of clients.
.NET Remoting is a Microsoft-specific technology that allows for communication between .NET applications. .NET Remoting can use a variety of protocols, including HTTP, TCP, and Named Pipes. This gives .NET Remoting more flexibility than web services, but it also makes it more complex to configure and use.
Here is a table that summarizes the key differences between web services and .NET Remoting:
In general, web services are a good choice for applications that need to be accessible from a variety of platforms. .NET Remoting is a good choice for applications that need to be highly performant or secure.
Here are some additional considerations when choosing between web services and .NET Remoting:
Ultimately, the best choice for you will depend on the specific needs of your application.